/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aybolit.core.objects.bo.impl;


import aybolit.core.objects.bo.OperatorsBo;
import aybolit.core.objects.dao.OperatorsDao;
import aybolit.core.objects.model.Operators;
import java.util.List;

/**
 *
 * @author Masumov Emin
 */
public class OperatorsBoImpl implements OperatorsBo{
    OperatorsDao operatorsDao;

    public void setOperatorsDao(OperatorsDao operatorsDao) {
        this.operatorsDao = operatorsDao;
    }
    
    @Override
    public void addOperators(Operators operators) {
       operatorsDao.addOperators(operators);
    }

    @Override
    public List<Operators> findAlloperators() {
       return operatorsDao.findAlloperators();
    }

}
